package cn.org.timespace.ons.service.policy.impl;

import java.util.List;

import cn.org.timespace.ons.action.policy.MomStatusModel;
import cn.org.timespace.ons.dao.policy.MomStatusDao;
import cn.org.timespace.ons.service.policy.MomStatusService;
import cn.org.timespace.ons.util.pager.Pager;
import cn.org.timespace.ons.vo.policy.MomStatus;

public class MomStatusServiceImpl implements MomStatusService {

	private MomStatusDao momStatusDao;
	
	public MomStatusDao getMomStatusDao() {
		return momStatusDao;
	}

	public void setMomStatusDao(MomStatusDao momStatusDao) {
		this.momStatusDao = momStatusDao;
	}

	@Override
	public void delete(MomStatus instance) {
		momStatusDao.delete(instance);
	}

	@Override
	public List<MomStatus> findByCondition(MomStatusModel model) {
		return momStatusDao.findByCondition(model);
	}

	@Override
	public List<Object> findByCondition(MomStatusModel model, Pager p) {
		return momStatusDao.findByCondition(model, p);
	}

	@Override
	public MomStatus findById(String id) {
		return momStatusDao.findById(id);
	}

	@Override
	public void save(MomStatus instance) {
		momStatusDao.save(instance);
	}

	@Override
	public void update(MomStatus instance) {
		momStatusDao.update(instance);
	}

	
}
